package com.lkm.asking.dao;

import com.lkm.asking.entity.DownFile;
import org.springframework.data.relational.core.sql.In;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public interface DownFileDao {
    int insertDown(DownFile downFile);
    int selectCI(Integer dataid);
    int selectCU(String username);
    List<DownFile> selectbyId(Integer dataid);
    List<DownFile> selectbyUsername(String username);
    DownFile alreadyDown(Integer dataid,String username);

}
